﻿@page
@model Disable2faModel
@{
    ViewData["Title"] = "Disable two-factor authentication (2FA)";
    ViewData["ActivePage"] = ManageNavPages.TwoFactorAuthentication;
}

<partial name="_StatusMessage" for="StatusMessage" />
<h1>@ViewData["Title"]</h1>

<div class="alert alert-warning" role="alert">
    <p>
        <span class="glyphicon glyphicon-warning-sign"></span>
        <strong>此操作仅禁用2FA.</strong>
    </p>
    <p>
        禁用2FA不会更改在认证程序应用程序中使用的密钥。如果你想改变关键
        在身份验证程序中使用 <a asp-page="./ResetAuthenticator">重置验证密钥.</a>
    </p>
</div>

<div>
    <form method="post" class="form-group">
        <button class="btn btn-danger" type="submit">禁用 2FA</button>
    </form>
</div>
